using AntChain.SDK.ATO.Models;
using Vin.Tool.Attributes;

namespace Vin.Extension.Framework.AntChain.Options;

[Option("VinAntChain")]
public class VinAntChainConfig : Config
{
    /// <summary>
    /// 环境 sml - 沙箱模拟环境  prod - 正式生产环境
    /// </summary>
    public string Env { get; set; } = "prod";

    /// <summary>
    /// 租户id
    /// </summary>
    public string? TenantId { get; set; }

    /// <summary>
    /// 商户社会信用代码
    /// </summary>
    public string? MerchantId { get; set; }

    /// <summary>
    /// 商户公司名字
    /// </summary>
    public string? MerchantName { get; set; }

    /// <summary>
    /// 商户支付宝uid
    /// </summary>
    public string? MerchantAlipayUid { get; set; }

    /// <summary>
    /// 商户地址
    /// </summary>
    public string? MerchantAddress { get; set; }

    /// <summary>
    /// 公钥
    /// </summary>
    public string? RsaPublicKey { get; set; }
    
    /// <summary>
    /// 回调地址
    /// </summary>
    public string? NotifyUrl { get; set; }
}